Fix build breakage on non-X11
authorTor Lillqvist <tml@iki.fi>
Wed, 9 Jun 2010 07:52:11 +0000 (10:52 +0300)
committerTor Lillqvist <tml@iki.fi>
Wed, 9 Jun 2010 07:52:11 +0000 (10:52 +0300)
AM_CONDITIONALs need to be seen in all code paths. The one for
XINPUT_NONE was only in the X11 if branch. But as that Automake
confitional wasn't used in any Makefile.am anyway, just drop the
AM_CONDITIONAL.

configure.ac

index 4f7aa138d516982e24b8a6e5081a08246e13578b..8db352d2f11ea2695ff5136471a71082e9f3b0c9 100644 (file)
@@ -1574,7 +1574,6 @@ if test "x$gdktarget" = "xx11"; then
               [Define to 1 if no XInput should be used])
   fi
 
-  AM_CONDITIONAL(XINPUT_NONE,  test "x$with_xinput" = "xno")
   AM_CONDITIONAL(XINPUT_XFREE, test "x$with_xinput" != "xno")
   AM_CONDITIONAL(XINPUT_2,     test "x$have_xinput2" = "xyes")